import axios from 'axios'
export default{
        getClassById(params){
            return axios({
                url:'/classes/getClassesBySubjectsId',
                method:'get',
                params
            })
        },
        getAllClass(params){
            return axios({
                url:'/classes/getClasses',
                method:'get',
                params
            })
        },
        delClass(data){
            return axios({
                url:'/classes/deleteClasses',
                method:'delete',
                data
            })
        },
        addClass(data){
            return axios({
                url:'/classes/addClasses',
                method:'post',
                data
            })
        }
}